<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>样式的优先级</title>
<style>
	div{ color : red; }
 	p{ color : green; }
	.active{ color : blue; } 
	#content{ color : yellow; }
</style>
</head>
<body>
<p id="content" class="active" style="color:gray;">这是一个段落</p>
</body>
</html>

